// const baseurl = 'https://gzst21.quyanedu.com/api/'

/***************本地测试地址 */
//const baseurl = 'http://st3ssss.tp.com/api/' //测试地址
//var _api_root = 'http://st3ssss.tp.com/api/';//测试地址

//const baseurl = 'https://st2test.quyanedu.com/api/' //测试地址
//var _api_root = 'https://st2test.quyanedu.com/api/';//测试地址

const baseurl = 'https://st2st2api.quyanedu.com/api/' //木仓考研刷题新版地址
var _api_root = 'https://st2st2api.quyanedu.com/api/';//木仓考研刷题新版地址

//const baseurl = 'https://st2st2api2023.quyanedu.com/api/' //木仓刷题新版地址
//var _api_root = 'https://st2st2api2023.quyanedu.com/api/';//木仓刷题新版地址


//const baseurl = 'https://st3st3api.quyanedu.com/api/' //木仓专业课刷题新版地址
//var _api_root = 'https://st3st3api.quyanedu.com/api/';//木仓专业课刷题新版地址

//const baseurl = 'https://st3.quyanedu.com/api/' //木仓专业课刷题新版地址
//var _api_root = 'https://st3.quyanedu.com/api/';//木仓专业课刷题新版地址

//const baseurl = 'https://st2.quyanedu.com/api/'
//var _api_root = 'https://st2.quyanedu.com/api/';

// var _api_root = 'http://gzst21.quyanedu.com/api/';

// wxbf3031efe0e449d8 政治
//wx91ef41d9939e27c0关中
var Api = {
  //domain: 'https://st2test.quyanedu.com/uploads/img/', //测试图片服务器地址
  domain: 'https://st2st2api.quyanedu.com/uploads/img/', //木仓考研刷题
  //domain: 'https://st2st2api2023.quyanedu.com/uploads/img/',//木仓刷题
  //domain: 'https://st3st3api.quyanedu.com/uploads/img/',//木仓专业课刷题
  //domain: 'https://st3.quyanedu.com/uploads/img/',//木仓专业课刷题
  //domain: 'https://st2.quyanedu.com/uploads/img/', //图片服务器地址
  GET: {
    big_book: _api_root + 'index/big_book', //大题书籍列表
    big_chapter: _api_root + 'index/big_chapter', //大题章节列表
    big_subject_info: _api_root + 'index/big_subject_info', //大题题目详情
    big_edit_subject_log: _api_root + 'member/big_edit_subject_log', //改变小问学习记录
    big_qualifications: _api_root + 'member/big_qualifications', //获取大题资格
    my_info: _api_root + 'member/get_member_info', //获取用户信息
    book_list_all: _api_root + 'index/book_list_all', //获取选择题和大题的书籍
    subject_ids_3e: _api_root + 'index/subject_ids_3e', //题目所有id带顺序的
    // big_setting: _api_root + 'index/big_setting', //大群进群数字
  }
}
const $get = {
  library_discipline:'index/discipline', //学科列表
  getopenid: 'login/login', //获取openid
  login: 'login/user_info', //登录
  member_info: 'member/get_member_info', //获取用户信息
  get_show: 'index/get_show', //获取显示设置
  library_class: 'index/library_class', //题库分类
  library_list: 'index/library_list', //题库列表
  big_chapter: 'index/big_chapter', //大题章节列表
  // qrcode: "index/qrcode",
  big_qualifications: 'member/big_qualifications', //获取大题资格
  my_library: 'member/my_library', //我的题库
  add_my_library: 'member/add_my_library', //加入我的题库
  add_all_library: 'member/add_all_library', //批量加入题库
  del_all_library: 'member/del_all_library', //批量删除题库
  library_index_list: 'index/library_index_list', //课程列表
  again_subject: 'member/again_subject', //重新刷题
  rand_subject: 'member/rand_subject', //随机刷题得到题号
  subject_info: 'index/subject_info', //题目解析
  subject_ids: 'index/subject_ids', //得到题目id
  comment_list: 'index/comment_list', //评论列表
  give_log: 'member/give_log', //点赞或取消点赞
  comment_add: 'member/comment_add', //创建评论
  note_list: 'index/note_list', //笔记列表
  note_add: 'member/note_add', //创建匹配
  note_my_list: 'member/note_my_list_1', //我的笔记
  note_my_list_down: 'member/get_list_export', //下载笔记
  upload_img: 'tx_autoload/upload_file', //上传图片
  report_errors: 'member/report_errors', //报错
  get_member_info: 'member/get_member_info', //个人信息
  share_statistics: 'member/share_statistics', //分享赚钱统计
  library_all_list: 'index/library_all_list', //全部题库列表
  note_del: 'member/note_del', //删除笔记
  amount_log_1: 'member/amount_log_1', //佣金明细
  note_info: 'index/note_info', //笔记详情
  note_edit: 'member/note_edit', //修改笔记
  get_share: 'index/get_share', // 分享图
  apply_amount: 'member/apply_amount', //申请提现
  amount_log_2: 'member/amount_log_2', //提现明细
  note_my_id: 'member/note_my_id', //我的笔记id
  make_question: 'member/make_question', //做题
  make_wrong_log: 'member/wrong_logs', //批量错题添加
  make_wrong_logs: 'member/wrong_logss', //真题模拟加入添加


  wrong_log_library: 'member/wrong_log_library', //我的错题
  wrong_log_chapter: 'member/wrong_log_chapter', //错题章节列表
  course_list: 'index/course_list', //课程列表
  card_subject: 'member/card_subject', //我的答题卡信息
  qrcode: 'index/qrcode', // 生成二位码
  my_team: 'member/my_team', //我的团队
  my_team_list: 'member/my_team_list', //我的团队列表
  examination: 'member/examination', //开始考试
  get_mock_list:'index/get_mock_list', // 模考试卷列表
  examination_mock_paperInfo:'index/examination_mock_paperInfo',
  examination_mock: 'member/examination_mock', //开始模拟考试
  mock_subject_info: 'index/mock_subject_info', //题目解析
  mock_make_question: 'index/mock_make_question', //做题
  mock_winding: 'index/mock_winding', // 模考收卷
  mock_result:'index/mock_result', // 考试结果
  mock_cxks:'index/mock_cxks', // 重新考试
  mock_ranking_list:'index/mock_ranking_list', // 考试排名
  print_wrong:'index/print_wrong', // 打印错题
  seach_cont:'index/seach_cont',
  mock_wrong_log_my:'member/mock_wrong_log_my',
  get_mock_wrong_num:'member/get_mock_wrong_num',
  getLibraryInfo:'index/getLibraryInfo',//题库详情
  getTestPaperFormationSubjectIds:'index/getTestPaperFormationSubjectIds',//获取组卷题id


  member_news: 'member/member_news', //用户消息
  update_member: 'member/update_member', //编辑个人信息
  update_weixin_member: 'member/update_weixin_member', //更新微信信息 头像、昵称
  subject_statistics_log: 'member/subject_statistics_log', //刷题统计
  member_news_num: 'member/member_news_num', //未处理用户消息数
  wrong_log_my: 'member/wrong_log_my', //我的错题本
  get_banner: 'index/get_banner', //获取轮播图
  activation_code: 'member/activation_code', //使用激活码兑换会员
  get_sign_list: 'member/get_sign_list', //获取签到记录
  add_sign: 'member/add_sign', //签到
  wrong_log_del: 'member/wrong_log_del', //删除错题
  wrong_log_add: 'member/wrong_log_add', //加入错题
  share_list: 'index/share_list', //分享海报接口
  library_index: 'index/library_index', //题库主页统计
  library_target: 'member/library_target', //设置目标题库
  decryption: 'login/decryption', //获取手机号
  pay_library: 'member/pay_library', //购买题库会员
  ranking_list: 'index/ranking_list', //全网排名
  goods_list: 'index/goods_list', //商店列表
  goods_info: 'index/goods_info', //商品详情
  default_goods_address: 'member/default_goods_address', //默认地址
  add_goods_order: 'member/add_goods_order', //立即支付
  cancel_goods_order: 'member/cancel_goods_order', //取消订单
  my_goods_order: 'member/my_goods_order', //我的订单
  info_goods_order: 'member/info_goods_order', //订单详情
  confirm_goods_order: 'member/confirm_goods_order', //确认收货
  download_goods_order: 'member/download_goods_order', //记录下载
  integral_meal: 'index/integral_meal', //获取套餐
  pay_integral_meal: 'member/pay_integral_meal', //支付套餐
  list_goods_address: 'member/list_goods_address', //收货地址列表
  goods_address_default: 'member/goods_address_default', //把地址设为默认地址
  del_goods_address: 'member/del_goods_address', //删除收货地址
  add_goods_address: 'member/add_goods_address', //添加收货地址
  edit_goods_address: 'member/edit_goods_address', //编辑收货地址
  add_screenshot: 'member/add_screenshot', //用户截图审核
  wrong_log_course_1: 'member/wrong_log_course_1', //错题章节
  wrong_log_library_1: 'member/wrong_log_library_1', //错题本题库_new
  wrong_log_del_1: 'member/wrong_log_del_1', //删除错题本题库_new


  mk_question_list:'member/mk_question_list',//模考题库列表
  mk_question_info:'member/mk_question_info',//模考题库详情
  mk_to_exchange:'member/mk_to_exchange',//使用兑换码
  mk_pay_question:'member/mk_pay_question',//购买模考题库
  mk_up_share_log:'member/mk_up_share_log',//上传or重新提交分享审核信息
  mk_generate_sheet:'member/mk_generate_sheet_new',//生成or重置答题卡
  mk_sheet_info:'member/mk_sheet_info',//答题卡信息
  mk_subject_info:'member/mk_subject_info',//题目详情
  mk_submit_subject:'member/mk_submit_subject',//提交答题结果_单多选
  mk_submit_subject_big:'member/mk_submit_subject_big',//提交答案结果_大题
  mk_submit_member_report:'member/mk_submit_member_report',//提交答题报告
  mk_answer_statistics:'member/mk_answer_statistics',//模考答案统计
  mk_sort_top:'member/mk_sort_top',//模考排行榜
  add_mk_line:'index/add_mk_line',//提交答题报告

  sys_chat_img:'index/get_share_img',//小程序码

}
const $post = {
  report_add: '/member/report_add', // 添加
  mock_log_add: '/index/mock_log_add', // 添加
}
for (let i in $get) {
  $get[i] = baseurl + $get[i]
}
for (let i in $post) {
  $post[i] = baseurl + $post[i]
}

export {
  $get,
  $post,
  Api,
}
